package com.jk.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.ui.ModelMap;

import com.jk.pojo.Project;

public interface ProjectService extends BaseService<Project> {

	/**
	 * 根据时间和项目名称检索项目
	 * @param projectName
	 * @param firstTime
	 * @param endTime
	 * @return
	 */
	public List<Project> queryList(String projectName,String firstTimeStr,String endTimeStr)throws Exception;

	/**
	 * 根据userid检索项目
	 * @param request
	 * @param modelMap
	 * @param userId
	 * @return
	 */
	public List<Project> queryProjectDelievery(HttpServletRequest request,ModelMap modelMap, Long userId);

	public List<Project> findProjectList() throws Exception;

}
